﻿/***************************************************************************

Copyright (c) Microsoft Corporation. All rights reserved.
This code is licensed under the Visual Studio SDK license terms.
THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.

***************************************************************************/

using System;
using System.Drawing;
using System.IO;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using EnvDTE;
using VSLangProj;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Project.Automation;
using Microsoft.VisualStudio.Project;
using PS3Helpers;
using System.Collections.Generic;

namespace rfc1459.PS3Project
{
    public class PlaystationConfigProvider : ConfigProvider
    {
        private readonly PlaystationProjectNode _manager;

        public PlaystationConfigProvider(PlaystationProjectNode manager)
            : base(manager)
        {
            _manager = manager;

            // List<string> platforms = new List<string>(new string[] { "Playstation3" });
            // ProjectMgr.BuildProject.ConditionedProperties.Add(ProjectFileConstants.Platform, platforms);
        }

        /*
        public override string[] GetPlatformsFromProject()
        {
            return new string[] { "Playstation3" };
        }
        */
        protected override ProjectConfig CreateProjectConfiguration(string configName)
        {
            return new PlaystationProjectConfig(_manager, configName);
        }
    }
}
